package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_enterprise_information")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class EnterpriseInformationModel {
    @TableId(type = IdType.AUTO)
    private Integer id;  //
    private String ename;  //企业名称
    private String taxpayerIdentificationNumber;  //纳税人识别号
    private String department;  //所在部门
    private String postName;  //岗位名称
    private String ephone;  //企业联系电话
    private Integer fullAttendance;  //是否全勤 0否1是
    private String proofOfMployment;  //在职证明
    private String attendanceEtails;  //考勤明细（图片）
    private String proofInsuranceParticipation;  //参保证明（图片）
    private Integer state;  //企业信息的审核状态：2待审核 1通过 0未通过
    private String reason;  //拒绝原因
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") //后端注解格式化日期
    private LocalDateTime  crtTime;  //
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") //后端注解格式化日期
    private LocalDateTime upTime;  //


    private transient Integer resubmit;//是否修改（审核被拒绝，重新提交的时候用）  1是 0否


    private transient Integer status; //审核状态 0待审核 1通过 2拒绝
    private transient Integer saId;
}
